﻿@model Chbl.Models.TeamPlayer

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>TeamPlayer</legend>

    <div class="display-label">Team</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team.Name)
    </div>

    <div class="display-label">Player</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Player.PlayerId)
    </div>

    <div class="display-label">BeginDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BeginDate)
    </div>

    <div class="display-label">EndDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EndDate)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.TeamPlayerId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
